package com.ruoyi.web.publish.story.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的故事对象 story
 *
 * @author houxuzhong
 * @date 2021-08-24
 */
public class Story extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 个人描述编号 */
    @Excel(name = "个人描述编号")
    private Long storyNumber;

    /** 我的故事(文字) */
    @Excel(name = "我的故事(文字)")
    private String myStory;


    /** 短视频保存文件名 */
    @Excel(name = "短视频保存文件名")
    private String fileName;

    /** 视频类型 */
    @Excel(name = "视频类型")
    private String fileExt;

    /**
     * 视频大小
     */
    @Excel(name = "视频大小")
    private BigDecimal fileSize;

    /**
     * 视频大小(带单位)
     */
    @Excel(name = "视频大小(带单位)")
    private String fileSizeStr;

    /**
     * URL
     */
    @Excel(name = "视频URL")
    private String url;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    /**
     * 创建者ID
     */
    @Excel(name = "创建者ID")
    private Long createById;

    /**
     * 更新者ID
     */
    @Excel(name = "更新者ID")
    private Long updateById;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoryNumber(Long storyNumber)
    {
        this.storyNumber = storyNumber;
    }

    public Long getStoryNumber()
    {
        return storyNumber;
    }
    public void setMyStory(String myStory)
    {
        this.myStory = myStory;
    }

    public String getMyStory()
    {
        return myStory;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileExt(String fileExt)
    {
        this.fileExt = fileExt;
    }

    public String getFileExt()
    {
        return fileExt;
    }
    public void setFileSize(BigDecimal fileSize)
    {
        this.fileSize = fileSize;
    }

    public BigDecimal getFileSize()
    {
        return fileSize;
    }
    public void setFileSizeStr(String fileSizeStr) {
        this.fileSizeStr = fileSizeStr;
    }

    public String getFileSizeStr() {
        return fileSizeStr;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setCreateById(Long createById)
    {
        this.createById = createById;
    }

    public Long getCreateById()
    {
        return createById;
    }
    public void setUpdateById(Long updateById)
    {
        this.updateById = updateById;
    }

    public Long getUpdateById()
    {
        return updateById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storyNumber", getStoryNumber())
                .append("myStory", getMyStory())
                .append("fileName", getFileName())
                .append("fileExt", getFileExt())
                .append("fileSize", getFileSize())
                .append("fileSizeStr", getFileSizeStr())
            .append("url", getUrl())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
